package com.cxl.learn.fegin;

import com.cxl.learn.fegin.hystrix.HystrixServerImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: 崔学磊
 * @Date: 2022/3/25 19:50
 * @Description:
 */
@FeignClient(name = "eureka-client",fallback = HystrixServerImpl.class)
public interface FeginServer {

    @GetMapping(value = "/eureka-client/demo/")
    public String demo();
}
